-
Home
-
Shopz GraphQL API for WooCommerce
-
2.0.5
-
Code
-
Classes
- Product
Total Complexity |
46 |
Dependencies |
8 |
Dependents |
7 |
Total lines |
235 |
Lines of code |
182 |
Logical lines of code |
86 |
Comment lines |
1 |
Methods |
17 |
Properties |
3 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getProduct() |
A |
53 |
8 |
22 |
get_gallery() |
S |
51 |
6 |
26 |
isInWishlist() |
S |
56 |
4 |
18 |
to_schema() |
S |
48 |
2 |
31 |
getProductsOnSale() |
S |
57 |
3 |
16 |
get_sale_price() |
S |
66 |
4 |
7 |
get_regular_price() |
S |
66 |
4 |
7 |
isAnyVariationInStock() |
S |
68 |
3 |
8 |
__construct() |
S |
67 |
2 |
8 |
set_description() |
S |
74 |
2 |
5 |
set_name() |
S |
74 |
2 |
5 |
get_product() |
S |
82 |
1 |
3 |
get_description() |
S |
73 |
1 |
6 |
getRelatedProducts() |
S |
68 |
1 |
7 |
get_name() |
S |
73 |
1 |
6 |
get_id() |
S |
81 |
1 |
3 |
set_product() |
S |
76 |
1 |
4 |